<template>
  <h1>
   和list2同步  测试是否跨组件
  </h1>
  <button @click="add">+1</button>{{  $store.state.add }}
  <hr />
  <button @click="sub">-1</button>{{ $store.state.reduce }}

  
</template>

<script>
export default {

}
</script>

<style>

</style>